package com.zb.jnlxc.model;

import com.ZLHW.base.HTable.HIntTable;
import com.ZLHW.base.table.TableDeclare;

import javax.persistence.*;

/**
 * Created by zhengbo.zb on 14-3-19.
 */
@Entity
@Table(name="JNLXC_PaiChanRecordStatistics")
@TableDeclare(comment = "排产统计表", tableName = "PaiChanRecordStatistics")
public class PaiChanRecordStatistics extends HIntTable {
    @Column(length=20)
    private String createDateKey; //添加日期
    private Integer nextPaiChanRecordNum;//下一个排产号，当天的第n次排产

    /**
     * Getter for property 'createDateKey'.
     *
     * @return Value for property 'createDateKey'.
     */
    public String getCreateDateKey() {
        return createDateKey;
    }

    /**
     * Setter for property 'createDateKey'.
     *
     * @param createDateKey Value to set for property 'createDateKey'.
     */
    public void setCreateDateKey(String createDateKey) {
        this.createDateKey = createDateKey;
    }

    public Integer getNextPaiChanRecordNum() {
        return nextPaiChanRecordNum;
    }

    public void setNextPaiChanRecordNum(Integer nextPaiChanRecordNum) {
        this.nextPaiChanRecordNum = nextPaiChanRecordNum;
    }

    @Override
    public String toString() {
        return "PaiChanRecordStatistics{" +
                "createDateKey='" + createDateKey + '\'' +
                ", nextPaiChanRecordNum=" + nextPaiChanRecordNum +
                '}';
    }
}
